HVM/save: allow the usage of zeroextend and a fixup function
authorRoger Pau Monné <roger.pau@citrix.com>
Thu, 26 Nov 2015 14:51:00 +0000 (15:51 +0100)
committerJan Beulich <jbeulich@suse.com>
Thu, 26 Nov 2015 14:51:00 +0000 (15:51 +0100)
commit4243baf61acf24d972eb456aea8353481af31100
tree6b707ff473807a8dc5f5ffd754e41cc29e36fd2a
parentfafa16e3d006d6d5f62b71374991360697db2467
HVM/save: allow the usage of zeroextend and a fixup function

With the current compat implementation in the save/restore context handling,
only one compat structure is allowed, and using _zeroextend prevents the
fixup function from being called.

In order to allow for the compat handling layer to be able to handle
different compat versions allow calling the fixup function with
hvm_load_entry_zeroextend.

Signed-off-by: Roger Pau Monné <roger.pau@citrix.com>
Reviewed-by: Andrew Cooper <andrew.cooper3@citrix.com>
xen/include/xen/hvm/save.h